package com.nk;

import com.nk.Utils.JavaUtilsPlus;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.text.SimpleDateFormat;
import java.util.Date;


@SpringBootApplication
public class NkSpringApplication {
    public static void main(String[] args) {
        try {
            System.out.println(" 农科项目启动中...... ");
            SpringApplication.run(NkSpringApplication.class, args);
            System.out.println(" 农科项目启动成功!!!"+ new JavaUtilsPlus().getNowTime());
        }catch (Exception e){
            System.out.println(" 农科项目启动失败!!!"+ new JavaUtilsPlus().getNowTime() +" 原因:" + e.getMessage());
        }

    }
}
